package com.smarttiger.zero.admin.entity;

import javax.persistence.*;
import java.util.List;

@Entity
@Table(name = "logic")
public class LogicModel extends BaseEntity {


    @Column(name = "name",length = 100)
    private String name;

    @Column(name = "systemCode", length = 100)
    private String systemCode;

    @Column(name = "className", length = 255)
    private String className;

    @Column(name = "note", length = 1000)
    private String note;

    @Column(name = "dataSourceId", length = 100)
    private String dataSourceId;


    @Transient
    private List<ArgsModel> argsModels;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<ArgsModel> getArgsModels() {
        return argsModels;
    }

    public void setArgsModels(List<ArgsModel> argsModels) {
        this.argsModels = argsModels;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getDataSourceId() {
        return dataSourceId;
    }

    public void setDataSourceId(String dataSourceId) {
        this.dataSourceId = dataSourceId;
    }
}
